<template>
  <scale-screen
    width="1920"
    height="1080"
    :delay="500"
    :fullScreen="false"
    :boxStyle="{
      background: '#03050C',
      overflow: isScale ? 'hidden' : 'auto',
    }"
    :wrapperStyle="wrapperStyle"
    :autoScale="isScale"
  >
    <div class="content_wrap">
      <Headers />
      <RouterView />
      <MessageContent />
    </div>
  </scale-screen>

</template>

<script setup lang="ts">
import ScaleScreen from "@/components/ScaleScreen";
import Headers from "./header.vue";
import useSettingStore from "@/stores/setting";
import MessageContent from "@/components/MessageContent";

const settingStore = useSettingStore()
const isScale = true
const wrapperStyle = {};

onMounted(()=>{
  //console.log("isScale",isScale)
  //useSettingStore().setIsScale(true);
})
</script>

<style lang="scss" scoped>
.content_wrap {
  width: 100%;
  height: 100%;
  padding: 16px 16px 16px 16px;
  box-sizing: border-box;
  background-image: url("@/assets/img/pageBg.png");
  background-size: cover;
  background-position: center center;
}
</style>
